#!/usr/bin/env python
# Monthly Expenses / Budget Calculator V0.1
# A simple monthly expense  / budget calculator by: Ian (Inc) Inc@inc-corporate.org
# http://code.inc-corporate.org/python
# Inc 2006
print "\a"

print "\t\t\tMonthly Expenses / Budget Calculator V0.1"

print "\t\t\t \\ \\ \\ \\ \\ \\ \\"
print "\t\t\t\tby:"
print "\t\t\tIan (Inc)"
print "\t\t\t \\ \\ \\ \\ \\ \\ \\"
print "\n"
print "\n"
print "Please enter the amounts below that you spent for this Month:"
rent = int(raw_input("Rent / mortgage payment: "))
car = int(raw_input("Car Payment: "))
food = int(raw_input("Amount spent on food: "))
credit = int(raw_input("Amount spent on Credit Cards: "))
utilities = int(raw_input("Amount spent on Utilities (water,gas,electricity): "))
internet = int(raw_input("Amount spent on internet: "))
phone = int(raw_input("Amount spent on Phone Service: "))
tv = int(raw_input("Amount spent on Tv Service: "))
entertainment = int(raw_input("Amount spent on entertainment: "))
subscription = int(raw_input("Amount spent on Subscription services (e.g- Magazines, Netflix type services): "))
spending = int(raw_input("Amount That you set aside for spending money: "))
savings = int(raw_input("Amount That Deposit in a savings account or set aside to save: "))
repairs = int(raw_input("Amount that you spend on suspected / unsuspected repairs: "))
budget = int(raw_input("Amount that you've budgeted for Each month in total for everything: "))
total = rent + car + food + credit + utilities + internet + phone + tv + entertainment + subscription + spending + savings
if total <= budget:
    print 'Great job you are within your budget you are under your budget by $',budget-total, 'Left'
else:
    print 'You Went over your budget by $',total-budget, ':('
    raw_input("\n\nHave a nice day! At any point you can Press the enter key to exit.")


